<template>
	<div class="bear-BearTab">
		<slot></slot>
	</div>
</template>

<script>
	/**
	 * @author 唐国雄
	 * 标签页
	 */
	export default{
		name:'BearTab',
		inject:['BearTabsInstance'],
		props:{
			title:String
		},
		mounted(){
			this.BearTabsInstance.slotChange();
		},
		beforeDestroy(){
			this.BearTabsInstance.slotChange();
		}
	};
</script>

<style lang="scss">

</style>
